package com.huangkailong.designpattern.factory.abstractfactory;

/**
 * 抽象工厂模式测试.
 *
 * @author huangkl
 * @since 1.0.0
 */
public class Client {

    /**
     * main 方法.
     */
    public static void main(String[] args) {
        CourseFactory javaCourseFactory = new JavaCourseFactory();
        javaCourseFactory.createVideo().record();
        javaCourseFactory.createNote().edit();
        CourseFactory pythonCourseFactory = new PythonCourseFactory();
        pythonCourseFactory.createVideo().record();
        pythonCourseFactory.createNote().edit();
    }
}
